package com.zhuoyian.dl.model;

public class DLVO implements Cloneable {

	/**
	 */
	private int id;
	/**
	 */
	private int taskId;
	/**
	 */
	private long totalSize;
	/**
	 */
	private long startSize;
	/**
	 */
	private long endSize;
	/**
	 */
	private long downSize;
	/**
	 */
	private long unfinishedSize;
	/**
	 */
	private String url;
	/**
	 */
	private String name;
	/**
	 */
	private int downState;
	/**
	 */
	private String localPath;
	/**
	 */
	private int type;
	/**
	 */
	private String mark;
	
	private Object obj;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getTaskId() {
		return taskId;
	}

	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}

	public long getTotalSize() {
		return totalSize;
	}

	public void setTotalSize(long totalSize) {
		this.totalSize = totalSize;
	}

	public long getStartSize() {
		return startSize;
	}

	public void setStartSize(long startSize) {
		this.startSize = startSize;
	}

	public long getEndSize() {
		return endSize;
	}

	public void setEndSize(long endSize) {
		this.endSize = endSize;
	}

	public long getDownSize() {
		return downSize;
	}

	public void setDownSize(long downSize) {
		this.downSize = downSize;
	}

	public long getUnfinishedSize() {
		return unfinishedSize;
	}

	public void setUnfinishedSize(long unfinishedSize) {
		this.unfinishedSize = unfinishedSize;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getDownState() {
		return downState;
	}

	public void setDownState(int downState) {
		this.downState = downState;
	}

	public String getLocalPath() {
		return localPath;
	}

	public void setLocalPath(String localPath) {
		this.localPath = localPath;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}
	
	

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	@Override
	public DLVO clone() {
		DLVO dl = new DLVO();
		dl.setDownSize(downSize);
		dl.setDownState(downState);
		dl.setEndSize(endSize);
		dl.setId(id);
		dl.setLocalPath(localPath);
		dl.setMark(mark);
		dl.setName(name);
		dl.setStartSize(startSize);
		dl.setTaskId(taskId);
		dl.setTotalSize(totalSize);
		dl.setType(type);
		dl.setUnfinishedSize(unfinishedSize);
		dl.setUrl(url);
		dl.setObj(obj);
		return dl;
	}

}
